package com.aiti.lulian.dto;

import com.aiti.base.core.base.dto.PageDto;
import com.aiti.lulian.workflow.ProcessStatus;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ShowRecordAuditDto extends PageDto {

    /**
     * 主键ID
     */
    private String id;

    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 状态：'RUNNING', 'COMPLETED', 'TERMINATED', 'SUSPENDED','SUBMITTED','REJECTED'
     */
    private ProcessStatus status;

    /**
     * 业务类型：0-模板
     */
    private String businessType;

    /**
     * 业务记录ID
     */
    private String businessRecordId;



    /**
     * 创建时间
     */
    private LocalDateTime baseCreateTime;

    /**
     * 更新时间
     */
    private LocalDateTime baseUpdateTime;

    /**
     * 创建人用户ID
     */
    private String creator;

    /**
     * 创建人角色ID
     */
    private String roleId;

    /**
     * 创建人所属部门ID
     */
    private String deptId;

    private String creatorName;

    private Boolean adminFlag;

    private String userId;
}
